//
//  LTTicketDetailViewController.m
//  LocalTravel
//
//  Created by zheng ji on 14-3-20.
//  Copyright (c) 2014年 jxw. All rights reserved.
//
#define  ticketTableWidth 150
#define  frameWidth 600
#define frameHeight 500
#import "LTTicketDetailViewController.h"

@interface LTTicketDetailViewController ()
{
    UITableView *_ticketTableView;
    
    
}
@end

@implementation LTTicketDetailViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
   // self.view.frame=CGRectMake(0, 0, frameWidth, frameHeight);
    
}
-(void)initUI{
    _ticketTableView=[[UITableView alloc]initWithFrame:CGRectMake(0, 0, ticketTableWidth, frameHeight) style:UITableViewStylePlain];
    _ticketTableView.delegate=self;
    _ticketTableView.dataSource=self;
    [_ticketTableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"reuse_themeCell"];
    [self.view addSubview:_ticketTableView];

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
